package smcms.service.cloudstore.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import smcms.commons.api.entity.result.CommonsResult;
import smcms.commons.api.entity.util.JwtUtil;

@Configuration
public class BeanConfig {

    @Bean
    public CommonsResult commonsResult(){
        return new CommonsResult();
    }
    @Bean
    public JwtUtil jwtUtil(){
        return new JwtUtil();
    }
}
